import { IsEmail, IsNotEmpty } from 'class-validator';

export class AuthSendCodeDto {
  @IsNotEmpty({ message: '邮箱不能为空' })
  @IsEmail({}, { message: '请输入正确的邮箱格式' })
  email: string;
}
